﻿using System;
using System.Linq;



public static class Distance3D
{
    
    //static method
    public static double CaldulateDistance3D(Point3D first,Point3D second)
    {
       
       double distance = Math.Sqrt((Math.Pow((first.X - second.X), 2) + Math.Pow((first.Y - second.Y), 2) + Math.Pow((first.Z - second.Z), 2)));
       return distance;
    }
   

}
